#include <iostream>
#include <math.h>
#include <string.h>

using namespace std;

double sub(double a, double b)
{
	try
	{
		if (b == 0)
			throw "错误: 除数不能为 0!";
		if (abs(b) < 1e-06)
			throw "警告: 数值可能很大!";
		if (abs(b) > 1e6)
			throw "警告: 数值可能很小!";
	}
	catch (const char* s)
	{
		cout << s << endl;
		exit(EXIT_FAILURE);
	}
	return a / b;
}

int main(void)
{
	double a, b;
	cin >> a >> b;
	cout << sub(a, b) << endl;
}